package com.xing.asm.jtrace;

import java.util.ArrayList;

/**
 * 切面入口
 * @author wei-8
 *
 */
public final class Advisor {

	public static IAdvice onMethodBegin(Class<?> ownClass, Object own, String methodName, String methodDescr, Object[] args) {
		IAdvice iAdvice = new AdviceInvoker(new ArrayList<IAdviceListener>());
		iAdvice.onBegin(args);
		return iAdvice;
	}
	

}
